<?php
	$data = $this->requestAction('home/menu');
	$brands = $data['brands'];
	$categories = $data['categories'];
?>

<div class="news_ct">
	<div class="des_news"><a href='#'>Tìm theo thương hiệu</a></div>
	<ul class="ul_news">
		<?php
		 
		foreach ($brands as $brand) {
		?>
		<li style='text-align: justify'>
			<span>
				<?php echo $html->link($brand['Brand']['name'],'/home/product_category/Search.Brand:'.$brand['Brand']['id'])?>
			</span>
			<div style='width:100%; clear:both; font-size:1px;'>&nbsp;</div>
		</li>
		<?php }?>
	</ul>
</div>
<div class="news_ct">
	<div class="des_news"><a href='#'>Tìm theo giá</a></div>
	<ul class="ul_news">
		<?php for($i = 5; $i< 50; $i+=5 ) {?>
		<li>
			<span>
				<?php 
					echo $html->link('Từ ' . $i . ' triệu đến ' . ($i + 5) .' triệu','/home/product_category/Seach.Price:'.$i.'-' . ($i+5));
				?>
			</span>
		</li>
		<?php }?>
	</ul>
</div>
